/*
 * @Author: 晓杭 xiaohang070809@163.com
 * @Date: 2022-06-20 16:24:49
 * @LastEditors: 晓杭 xiaohang070809@163.com
 * @LastEditTime: 2022-06-23 15:38:18
 * @FilePath: \hr-cms\src\api\employees.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

/**
 * @description: 获取下拉选择部门负责人数据
 * @param {*}
 * @return {*}
 */
export function getEmployeeSimpleApi() {
  return request({
    url: '/sys/user/simple'
  })
}
/**
 * @description: 获取员工列表
 * @param {*} params {page:当前页,size：每页条数}
 * @return {*}
 */
export function getEmployeeListApi(params) {
  return request({
    method: 'get',
    url: '/sys/user',
    params
  })
}
